<?php
return array(
    'controllers' => array(
        'invokables' => array(
            'Soonpage\Controller\Index' => 'Soonpage\Controller\IndexController',
        ),
    ),
    'router' => array(
        'routes' => array(            
            'soonpage' => array(
                'type'    => 'Segment',
                'options' => array(
                    'route'    => '/soonpage',
                    'defaults' => array(
                        '__NAMESPACE__' => 'Soonpage\Controller',
                        'controller'    => 'Index',
                        'action'        => 'index',
                    ),
                ),
                'may_terminate' => true,
                'child_routes' => array(
                    'quisommesnous' => array(
                        'type' => 'Segment',
                        'options' => array(
                            'route' => '/qui-sommes-nous',
                                'defaults' => array(
                                    '__NAMESPACE__' => 'Soonpage\Controller',
                                    'controller'    => 'Index',
                                    'action'     => 'qui',
                                ),
                            ),
                    ),
                    'default' => array(
                        'type'    => 'Segment',
                        'options' => array(
                            'route'    => '/[:controller[/:action]]',
                            'constraints' => array(
                                'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
                                'action'     => '[a-zA-Z][a-zA-Z0-9_-]*',
                            ),
                            'defaults' => array(
                            ),
                        ),
                    ),
                ),
            ),
        ),
    ),
    'view_manager' => array(
        'template_map' => array(
                'layout/layout'   => __DIR__ . '/../view/layout/soonpagelayout.phtml',
        ),
        'template_path_stack' => array(
            'Soonpage' => __DIR__ . '/../view',
        ),
    ),
    'view_helpers' => array(
        'invokables' => array(
            'FooterSoonpageHelper' => 'Soonpage\View\Helper\FooterHelper',
            'HeaderSoonpageHelper' => 'Soonpage\View\Helper\HeaderHelper',
            'LogoSoonpageHelper' => 'Soonpage\View\Helper\LogoHelper',
        ),
    )
);
